Analysis of Pram Instruction Setsfrom a Log Cost
نویسنده
چکیده
The log cost measure has been viewed as a more reasonable method of measuring the time complexity of an algorithm than the unit cost measure. The more widely used unit cost measure becomes unrealistic if the algorithm handles extremely large integers. Parallel machines have not been examined under the log cost measure. In this paper, we investigate the Parallel Random Access Machine under the log cost measure. Let the instruction set of a basic PRAM include addition, subtraction, and Boolean operations. We relate resource-bounded complexity classes of log cost PRAMs to complexity classes of Turing machines and circuits. We also relate log cost PRAMs with diierent instruction sets by simulations that are much more eecient than possible in the unit cost case. Let LCRCW k (CRCW k) denote the class of languages accepted by a log cost (unit cost) basic CRCW PRAM in O(log k n) time with polynomial in n number of processors. We position the log cost PRAM in the hierarchy of parallel complexity classes as: AC k = CRCW k (NC k+1 ; LCRCW k+1) AC k+1 = CRCW k+1. 1. Introduction 1.1. PRAMs and Log Cost Usually, one measures the time complexity of a Random Access Machine (RAM) algorithm as the number of steps executed. Under this unit cost measure, a RAM takes one unit of time to execute an instruction on any pair of operands stored at any pair of locations in memory, regardless of the operand and address lengths. Alternatively, one may analyze time complexity under the log cost measure, in which the time cost of an instruction execution depends on the operand and address
منابع مشابه
Streaming PRAM
Parallel random access memory, or PRAM, is a now venerable model of parallel computation that that still retains its usefulness for the design and analysis of parallel algorithms. Parallel computational models proposed after PRAM address short comings of PRAM in terms of modeling realism of actual machines. In this work, we propose a multiple instruction stream partitioned PRAM, or “stream PRAM...
متن کاملA Cost Optimal Parallel Quicksort on CREW PRAM
In this paper we introduce a cost optimal parallel quicksort algorithm. It sorts an array of n elements in O(log n) time using O( n n log ) processors on a CREW PRAM. That is, the total cost is O(n log n), the same as an average sequential quicksort algorithm. The key feature of the proposed algorithm is that it partitions the array concurrently. This removes the performance bottleneck proposed...
متن کاملAn Improved Lower Bound for the QRQW PRAM
The queue-read, queue-write (QRQW) parallel random access machine (PRAM) model is a shared memory model which allows concurrent reading and writing with a time cost proportional to the contention. This is designed to model currently available parallel machines more accurately than either the CRCW PRAM or EREW PRAM models. Here we present a lower bound for the problem of Linear Approximate Compa...
متن کاملA Fast Derandomization Schemes and Its Applications
We present a fast derandomization scheme for the PROFIT/COST problem. Through the applications of this scheme we show the time complexity of O(log 2 n loglog n) for the + 1 vertex coloring problem using O((m + n)= log logn) processors on the CREW PRAM, the time complexity of O(log 2:5 n) for the maximal independent set problem using O((m+n)= log 1:5 n) processors on the CREW PRAM and the time c...
متن کاملOn Implementing EREW Work-Optimally on Mesh of Trees
We show how to implement an `1 n log n-processor EREW PRAM workoptimally on a 2-dimensional n-sided mesh of trees, consisting of n processors, n memory modules, and O(n) nodes. Similarly, we prove that an `2 n log n-processor EREW PRAM can be implemented work-optimally on a 3-dimensional n-sided mesh of trees. By the work-optimality of implementations we mean that the expected routing time of P...
متن کامل